Very High Level Programming with Collection Components
نویسندگان
چکیده
Despite the possibility of providing standard collection frameworks, object-oriented languages do not generally encourage a 'very high level' style of programming in which collection components are regarded as first class citizens and in which different implementations for a collection can be exchanged without affecting the correctness of a program and with minimal change to the source code. This results both from weaknesses in the structure of the frameworks and from the poor degree of integration of collections into the languages. In this paper we present a new approach to the integration of collections in object-oriented languages in which collection types are part of the language but collection implementations are not. We also show how the integration of collection types allows automatic conversions which, among other advantages, provide a new solution to the problem of statically type-safe compatibility for collections.
منابع مشابه
How to build a WebFountain: An architecture for very large-scale text analytics
WebFountain is a platform for very large-scale text analytics applications. The platform allows uniform access to a wide variety of sources, scalable system-managed deployment of a variety of document-level “augmenters” and corpus-level “miners,” and finally creation of an extensible set of hosted Web services containing information that drives end-user applications. Analytical components can b...
متن کاملEvaluation of social livability components and their interpretive structural modeling, case study: Qaen city
Introduction In the current century, known as the century of cities, a significant part of the world's population lives in cities and the trend of increasing urbanization continues. In such circumstances, the important question is to what extent cities are suitable places for human life. Hence, the concept of urban livability and livable city has become one of the most widely used concepts in...
متن کاملCruise Tourism Externalities and Residents’ Support: A Mixed Approach
This paper investigates residents’ preferences of investment in cruise tourism, taking its externalities into full account. The research involved data collection in the port of call of Messina (Sicily, Italy), during the peak cruise season in 2011. A mixed generalized ordered logit analysis, based upon a correspondence analysis, is run to examine what factors influence residents’ perceptions ab...
متن کاملAdaptive High-Level Scheduling in a Generic Parallel Runtime Environment
We present the design and prototype implementation of a run-time environment (RTE) for the implicitly parallel execution of high-level languages. In our design a micro-kernel provides basic infrastructure, such as garbage collection, but all complex RTE operations, including the handling of parallelism, are implemented on a separate system level. By choosing a high-level language, (Concurrent) ...
متن کاملThe Tekkotsu “Crew”: Teaching Robot Programming at a Higher Level
The Tekkotsu “crew” is a collection of interacting software components designed to relieve a programmer of much of the burden of specifying low-level robot behaviors. Using this abstract approach to robot programming we can teach beginning roboticists to develop interesting robot applications with relatively little effort.
متن کامل